package com.john.design.创建性模型.抽象工厂;

/**
 * @Author: JohnCoding
 * @Description:
 * @date: 2020/8/10 22:44
 */
public class JavaCourseFactory  implements CourseFactory{
    @Override
    public Video buildVideo() {
        return new JavaVideo();
    }

    @Override
    public Mark buildMark() {
        return new JavaMark();
    }
}
